projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c9f35a
)
Add Python 3.5 keyword "await"
author
Jorgen Schaefer
<contact@jorgenschaefer.de>
Thu, 21 Apr 2016 08:00:39 +0000
(10:00 +0200)
committer
Jorgen Schaefer
<contact@jorgenschaefer.de>
Thu, 21 Apr 2016 08:05:26 +0000
(10:05 +0200)
* lisp/progmodes/python.el (python-font-lock-keywords): Add await as
keyword.
lisp/progmodes/python.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/python.el
b/lisp/progmodes/python.el
index 375b9fedc9d34446d26eb4b2cc5eb32708fd3d84..1898e0d3b8c1e68fde029485f7dd6cdc38449e5f 100644
(file)
--- a/
lisp/progmodes/python.el
+++ b/
lisp/progmodes/python.el
@@
-536,6
+536,7
@@
The type returned can be `comment', `string' or `paren'."
"nonlocal"
;; Python 3.5+ PEP492
(and "async" (+ space) (or "def" "for" "with"))
+ "await"
;; Extra:
"self")
symbol-end)